package com.hs.entity.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 何森
 * @since 2023-08-10-11:20
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PositionResultDTO {
    private String ip;
    private Location location;
    private Ad_info ad_info;


    @Data
    static class Location{
        private double lat;
        private double lng;
    }

    @Data
    static class Ad_info{
        private String nation;
        private String province;
        private String city;
        private String district;
    }
}
